//
//  myTitleLabel.m
//  日夜间(范阳)
//
//  Created by dllo on 15/11/2.
//  Copyright © 2015年 dllo. All rights reserved.
//

#import "myTitleLabel.h"
#import "PrefixHeader.pch"
@implementation myTitleLabel
-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self information];
        [self NightWithType:UIViewColorTypeNormal];
        self.font = [FontSizeManage ChangeSize].titleFont;
    }
    return self;
}
#pragma mark - 开始监听
-(void)information
{
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(setFontSize:) name:@"changeFontSize" object:nil];
}
-(void)setFontSize:(NSNotification *)notification
{
    self.font = (UIFont *)[notification object];
}


@end
